import Vue from 'vue'
import App from './App.vue'
import router from './router'

Vue.config.productionTip = false

// 引用静态资源
import '../src/assets/js/index'
import '../src/font/iconfont.css'
import '../src/assets/css/reset.css'

// 全局引用
import axios from 'axios'
Vue.prototype.axios=axios

// 引用vant
import vant from 'vant/lib/vant.js'
Vue.use(vant)
import 'vant/lib/index.css'

// 引用element-ui
import ElementUI from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"
Vue.use(ElementUI)

import store from './store/index.js'

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
